package work.mediway.mdm.biz.dto.biz;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/1/28
 */
@ApiModel
@Data
public class SsTablePermDTO {

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "外部系统Code")
    private String extraSystemCode;

    @ApiModelProperty(value = "表代码", required = true)
    @NotBlank(message = "表代码不能为空")
    private String ssTableParam;

}
